package parser;
import java.util.*;
import java.io.*; 
import antlr.RecognitionException;

public class FileScope extends Scope2 {
    
    FileScope() {
        super();
    }
      
    Expr name(int name) {
        return new Global(name);
    }
    
    void global(int name) {
        // Ignore.
    }
    
    void bind(int name) {
        // Ignore
    }
             
    Scope2 beginFunction(List parameters) {
        return new FunctionScope2(parameters, this);
    }
    
    Scope2 beginClass(int name) {
        return new ClassScope(name, this);   
    }
    
    Scope2 close() {
        return null;
    }
    
    int[] getLocals() {
        return new int[0];   
    }
    
    int tempIndex;
 
}
